// ? 导入模块
const TIME = require('./时间格式化方法');

const itutil = require('../itheima_tools')

// ? 调用方法
const date = new Date();
console.log(date);

const newDate = TIME.dateFormat(date);

console.log(newDate);
console.log('-------------------');


const htmlStr = '<h1>这是h1标签</h1>'

const str = itutil.htmlEscape(htmlStr)

console.log(str)
console.log('-------------------');

console.log(itutil.htmlUnEscape(str))
